#include "logger.h"


Logger& Logger::operator<<(const QString& str){
    write(str);
    return *this;
}

Logger& Logger::operator<<(int nb){
    QString strnb = QString("%1").arg(nb);
    write(strnb);
    return *this;
}


Logger& Logger::operator<<(double nb){
    QString strnb = QString("%1").arg(nb);
    write(strnb);
    return *this;
}

Logger& Logger::operator<<(float nb){
    QString strnb = QString("%1").arg(nb);
    write(strnb);
    return *this;
}
